package com.yingxin.yx.framework.render.core.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Content implements Serializable {

    private String name;

    private String field;

    @JsonIgnore
    private Integer sort;

    private List<Column> columns;

    /**
     * 详情展示下拉表头键
     * @return
     */
    private String detailsKey;
    /**
     * 详情展示下拉表头值
     * @return
     */
    private String detailsValue;
    public Content() {
    }

    public Content(String name, String field, Integer sort, List<Column> columns,String detailsKey,String detailsValue) {
        this.name = name;
        this.field = field;
        this.sort = sort;
        this.columns = columns;
        this.detailsKey = detailsKey;
        this.detailsValue = detailsValue;
    }

}
